package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.Colllect;
import com.ruoyi.service.ColllectService;
import com.ruoyi.mapper.ColllectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【colllect】的数据库操作Service实现
* @createDate 2023-07-23 14:08:39
*/
@Service
public class ColllectServiceImpl extends ServiceImpl<ColllectMapper, Colllect>
    implements ColllectService{

    @Autowired
    private ColllectMapper colllectMapper;

    @Override
    public int addCollect(Colllect colllect) {
        return colllectMapper.insert(colllect);
    }
}




